import random

randNum = int(random.random() * 100)
num = int(input())
while num != randNum:
    print("{}了".format("大" if num > randNum else "小"))
    num = int(input())
print("猜对了")
